package practice.w904;

public class StudentTest {
    public static void main(String[] args) {
        //创建对象
        Student s1 = new Student();
        //调用方法
        s1.name="tcl";
        s1.age=25;
        s1.className="2408";
        s1.stuId="5";

        Student s2 = new Student("mrht",25,"2408","05");
        s1.sayHi();
        s1.study();
        s1.playWith(s2.name);



//        Student s1 = new Student();
//
//        s1.name="tcl";
//        s1.age=25;
//        s1.className="2408";
//        s1.stuId="5";
//
//        Student s2 = new Student("mrht",25,"2408","05");
//        s1.sayHi();
//        s1.study();
//        s1.playWith(s2.name);
    }
}
